<?php
/**
 * @copyright 
 * @license https://opensource.org/licenses/Apache-2.0
 * @link https://www.gougucms.com
 */

namespace app\admin\validate;
use think\Validate;

class FeedbackValidate extends Validate
{
    protected $rule = [
    'uid' => 'require',
    'content' => 'require',
    'img' => 'require',
    'mobile' => 'require',
    'create_time' => 'require',
    'update_time' => 'require',
    'delete_time' => 'require',
];

    protected $message = [
    'uid.require' => '用户ID不能为空',
    'content.require' => '反馈内容不能为空',
    'img.require' => '图片不能为空',
    'mobile.require' => '联系方式不能为空',
    'create_time.require' => '创建时间不能为空',
    'update_time.require' => '编辑时间不能为空',
    'delete_time.require' => '删除时间不能为空',
];
}